package com.coolwen.dao;

import com.coolwen.entity.Product;

import java.util.List;
import java.util.Map;

public interface ProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Product record);

    int update(Product record);

    int updateByPrimaryKey(Product record);

    List<Product> find(Map<String, Object> params);
    //   List<User> find(@Param("name") String name);

    int find_count(Map<String, Object> params);

    Product load(Integer id);
}